package com.tianji.learning.domain.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * @author 晴天 ☀️
 * @date 2024/8/28 15:02
 * @Email:1627233147@qq.com
 * @Class:
 */
@Data
@ApiModel(description = "新增回答和评论参数实体")
public class QuestionReplyAddDto {

    @ApiModelProperty(value = "问题id", example = "123")

    private Long questionId; // 问题id

    @ApiModelProperty(value = "回答的内容", example = "回答的内容")

    private String content; // 回答的内容

    @ApiModelProperty(value = "是否匿名", example = "false")

    private Boolean anonymity; // 是否匿名

    @ApiModelProperty(value = "上级回答id", example = "321")

    private Long answerId; // 上级回答id，没有可不填

    @ApiModelProperty(value = "目标回复id", example = "321")

    private Long targetReplyId; // 目标回复id，没有可不填

    @ApiModelProperty(value = "目标用户id", example = "321")

    private Long targetUserId; // 目标用户id，没有可不填

    @ApiModelProperty(value = "标记当前回答是否是学生提交的", example = "false")

    private Boolean isStudent; // 标记当前回答是否是学生提交的
}
